package ldh.im.fxbase.data.pojo;

import ldh.im.fxbase.data.pojo.status.ImModuleItemStatus;
import ldh.im.fxbase.data.pojo.status.ImModuleItemType;

import java.util.Date;

public class ImModuleItem {

    private Long id;
    private Long moduleId;
    private String name;
    private String description;
    private String icon;
    private String url;
    private String params;
    private Integer no;
    private ImModuleItemStatus status;
    private ImModuleItemType type;
    private Date createTime;
    private Date updateTime;

    public ImModuleItem() {
        this.createTime = new Date();
        this.updateTime = this.createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public ImModuleItemStatus getStatus() {
        return status;
    }

    public void setStatus(ImModuleItemStatus status) {
        this.status = status;
    }

    public ImModuleItemType getType() {
        return type;
    }

    public void setType(ImModuleItemType type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
